package Experiment.Case1;

public class Contestant {
    public Fiyable fiyable;
    public String name;

    public Contestant(Fiyable fiyable, String name) {
        this.fiyable = fiyable;
        this.name = name;
    }

    public void paly(){
        this.fiyable.fly();
    }
}
